package com.ygqh.baby.model;

import java.math.BigDecimal;
import java.util.Date;

import com.ygqh.baby.ao.OperationType;
import com.ygqh.baby.ao.OrderStatus;
import com.ygqh.baby.ao.RebateType;

public class YgUserBalanceOrderDetailModel {
	private String nickName;

	private String userName;

	private String provinceName;

	private String cityName;

	private String areaName;

	private Long orderId;

	private Date createTime;

	private OrderStatus orderStatus;

	private BigDecimal orderPrice;

	private BigDecimal commissionRate;

	private BigDecimal incomePayPrice;

	private RebateType rebateType;

	private String operation;

	private OperationType operationType;

	private String returnOrderCode;

	private BigDecimal returnPrice;

	private BigDecimal balancePrice;

	private Date returnTime;

	public Date getReturnTime() {
		return returnTime;
	}

	public void setReturnTime(Date returnTime) {
		this.returnTime = returnTime;
	}

	public OperationType getOperationType() {
		return operationType;
	}

	public void setOperationType(OperationType operationType) {
		this.operationType = operationType;
	}

	public String getReturnOrderCode() {
		return returnOrderCode;
	}

	public void setReturnOrderCode(String returnOrderCode) {
		this.returnOrderCode = returnOrderCode;
	}

	public BigDecimal getReturnPrice() {
		return returnPrice;
	}

	public void setReturnPrice(BigDecimal returnPrice) {
		this.returnPrice = returnPrice;
	}

	public BigDecimal getBalancePrice() {
		return balancePrice;
	}

	public void setBalancePrice(BigDecimal balancePrice) {
		this.balancePrice = balancePrice;
	}

	public String getOperation() {
		if (this.operationType != null) {
			return operation = operationType.getTitle();
		}
		return operation;
	}

	public void setOperation(String operation) {
		this.operation = operation;
	}

	public RebateType getRebateType() {
		return rebateType;
	}

	public void setRebateType(RebateType rebateType) {
		this.rebateType = rebateType;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getProvinceName() {
		return provinceName;
	}

	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName;
	}

	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public Long getOrderId() {
		return orderId;
	}

	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getOrderStatus() {
		return orderStatus.getTitle();
	}

	public void setOrderStatus(OrderStatus orderStatus) {
		this.orderStatus = orderStatus;
	}

	public BigDecimal getOrderPrice() {
		return orderPrice;
	}

	public void setOrderPrice(BigDecimal orderPrice) {
		this.orderPrice = orderPrice;
	}

	public BigDecimal getCommissionRate() {
		return commissionRate;
	}

	public void setCommissionRate(BigDecimal commissionRate) {
		this.commissionRate = commissionRate;
	}

	public BigDecimal getIncomePayPrice() {
		return incomePayPrice;
	}

	public void setIncomePayPrice(BigDecimal incomePayPrice) {
		this.incomePayPrice = incomePayPrice;
	}

}
